env: EDE_DEV
# The variables file used by the playbooks in the ci-server group.
# These don't have to be explicitly imported by vars_files: they are autopopulated.

# Optional method of pinning a specific version of Jenkins and/or overriding the
# default Jenkins packaging URL.
jenkins_pkg_url: "http://vaausfpctas801.aac.va.gov/pub/repo/yum/MCCF"
jenkins_update_url: "http://vaausfpctas801.aac.va.gov/pub/repo/jenkins"
jenkins_update_center: ""

#The system hostname; usually localhost works fine. This will be used during setup to communicate with the running Jenkins instance via HTTP requests.
jenkins_hostname: vaausfpctas801.aac.va.gov

#The Jenkins home directory which, amongst others, is being used for storing artifacts, workspaces and plugins. 
#This variable allows you to override the default /var/lib/jenkins location.
jenkins_home: /var/lib/jenkins
jenkins_process_user: vaaactasfpcjenkins
jenkins_process_group: "{{ jenkins_process_user }}"

#The location at which the jenkins-cli.jar jarfile will be kept. This is used for communicating with Jenkins via the CLI.
jenkins_jar_location: /opt/jenkins-cli.jar

#The HTTP port for Jenkins' web interface.
jenkins_http_port: 8080

#Jenkins plugins to be installed automatically during provisioning 
jenkins_plugins: []
jenkins_sync_jobs: true

#Used for setting a URL prefix for your Jenkins installation. 
#The option is added as --prefix={{ jenkins_url_prefix }} to the Jenkins initialization java invocation, 
#so you can access the installation at a path like http://www.example.com{{ jenkins_url_prefix }}. 
#Make sure you start the prefix with a / (e.g. /jenkins).
jenkins_url_prefix: ""

#Default admin account credentials which will be created the first time Jenkins is installed.
jenkins_admin_username: jenkins_admin
jenkins_admin_password: "{{ jenkins_admin_password }}"

jenkins_excluded_plugins: 'hipchat.*'

jenkins_default_users:
    mcordi:
      email: "PII                 "
      perm: [Jenkins.READ,item.READ]
      fullname: "Mike Cordi"
    thoward:
      email: "PII               "
      perm: [Jenkins.ADMINISTER]
      fullname: "Tony Howard"
    dmcallister:
      email: "PII                     "
      perm: [Jenkins.ADMINISTER]
      fullname: "Daniel Mcallister"
    lbenhart:
      email: "PII               "
      perm: [Jenkins.ADMINISTER]
      fullname: "Lee Benhart"
    jenkins_build:
      email: "PII               "
      perm: [Jenkins.READ]
      fullname: "Jenkins Builduser"
    vthompson:
      email: "PII                    "
      perm: [Jenkins.READ,item.READ]
      fullname: "Vernita Thompson"
    vhaactasfpcdnsrtc:
      email: "PII               "
      perm: [Jenkins.READ,item.READ,item.BUILD,item.WORKSPACE,run.REPLAY,view.READ,scm.TAG]
      fullname: "RTC Build Service Account"

jenkins_remove_users:
    - mjenks

jenkins_global_vars:
    - name: NPM_REGISTRY
      value: "{{ npm_registry }}"

    - name: MCCF_PUB_REPO_URL
      value: "{{ mccf_pub_url }}/repo"

    - name: VAULTPASS_PATH
      value: "~/.vault_pass"

nodejs_npm_global_packages:
#  # Install a specific version of a package.
#  - name: jslint
#    version: 0.9.3
#  # Install the latest stable release of a package.
#  - name: node-sass
  - name: pm2
    version: '2.4'

  - name: check-dependencies
    version: '1.0.1'

  - name: selenium-standalone
    version: '6.0.1'

  - name: protractor
    version: '5.1.1'

  - name: grunt
    version: '1.0.1'

  - name: typescript
    version: '2.1.6' 